package cn.tedu.ivos.application.service;

import cn.tedu.ivos.application.pojo.dto.ApplicationQuery;
import cn.tedu.ivos.application.pojo.dto.ApplicationSaveParam;
import cn.tedu.ivos.application.pojo.vo.ApplicationVO;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface ApplicationService {
    void saveApp(ApplicationSaveParam applicationSaveParam);

    List<ApplicationVO> searchApplication(ApplicationQuery query);

    void cancelApplication(Long id);

    void distribute(Long applicationId,Long vehicleId);

    void back(Long applicationId, Long vehicleId);
}
